home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crosscountry USA Photo Safari
/
Crosscountry USA Photo Safari.iso
/
Data
/
cc_base
/
pak00_16bit_f.pk3
/
cell_phone.gl.p
< prev
next >
Wrap
Text File
|
2002-09-24
|
2KB
|
84 lines
{
X = 355;
Y = 210;
Hidden = TRUE;
ScriptID = Script {
@show {
GuiToFront(SELF);
}
};
ChildID = {
GuiAnimation("get_rid_of_it") {
IgnoreTransparency = TRUE;
ScriptID = script {
@loaded {
ResPropSetInt(SELF,"X" ,-ResPropGetInt(SELF,"ScreenX"));
ResPropSetInt(SELF,"Y" ,-ResPropGetInt(SELF,"ScreenY"));
ResPropSetInt(SELF,"Width" ,CVarGetInt("SCREEN_MAX_X"));
ResPropSetInt(SELF,"Height",CVarGetInt("SCREEN_MAX_Y"));
}
@activate {
ResPropSetInt(GuiParent(SELF),"Hidden", TRUE);
}
}
},
GuiAnimation("plate") {
AnimationID = "gui/dash/cell_phone/cell.pcx";
},
GuiListbox("call_options") {
X = 18;
Y = 78;
Height = 50;
Width = 70;
ListHilightedColor = #8BA57F;
FontID = "font/verdana_9_black.tf";
ScriptID = Script {
@loaded {
ResParseEvent(ResByName("common/country_specific.c4"),"@cell_phone_populate_options");
}
};
StrListID = StrList {
Size = 128;
};
},
GuiAnimation("close_button") {
/* AnimationID = "gui/dash/cell_phone/close_invisible.pcx"; */
IgnoreTransparency = TRUE;
Height = 60;
ScriptID = Script {
@loaded {
ResPropSetInt(SELF,"Width",ResPropGetInt(GuiSiblingByName("plate"), "Width"));
}
@activate {
ResPropSetInt(GuiParent(SELF),"Hidden",TRUE);
}
};
},
GuiAnimation("call_button") {
/* AnimationID = "gui/dash/cell_phone/close_invisible.pcx"; */
IgnoreTransparency = TRUE;
Y = 135;
ScriptID = Script {
@loaded {
resid plate_id;
plate_id = GuiSiblingByName("plate");
ResPropSetInt(SELF,"Width",ResPropGetInt(plate_id, "Width"));
ResPropSetInt(SELF,"Height",ResPropGetInt(plate_id, "Height") - ResPropGetInt(SELF,"Y"));
}
@activate {
/* this code has been moved to the game specific common folder */
ResParseEvent(ResByName("common/country_specific.c4"),"@cell_phone_make_call");
}
};
}
};
}